/* 
   M2 Tech - Complete Stylesheet
   Comprehensive CSS file for the entire M2 Tech website
*/

/* ============================
   1. Base and Variables
============================ */
:root {
    --primary: #0d47a1; /* Deep blue */
    --primary-dark: #082c65; /* Darker blue for hover states */
    --secondary: #1565c0; /* Lighter blue */
    --accent: #d32f2f; /* Patriotic red */
    --accent-dark: #b71c1c; /* Darker red for hover states */
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --gray-dark: #343a40;
    --success: #28a745;
    --warning: #ffc107;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Accounts for fixed header */
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

li.bullet {
    margin-bottom: 0.5rem;
    padding-left: 1.3em;
    position: relative;
}

li.bullet::before {
    content: '•';
    position: absolute;
    left: 0;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
}

/* ============================
   2. Animations
============================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* ============================
   3. Utilities
============================ */
.flex{ display: flex; flex-wrap: wrap; gap: 30px;}
.flex .item-33 {  flex: 33%;}
.img-300 {height: 300px;}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: var(--accent);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn-rounded {
    border-radius: 50px;
}

.section-padding {
    padding: 5rem 0;
}

.bg-light { background-color: var(--light); }
.bg-white { background-color: var(--white); }
.bg-gray { background-color: var(--gray-light); }
.bg-primary { background-color: var(--primary); color: var(--white); }
.bg-accent { background-color: var(--accent); color: var(--white); }

/* ============================
   4. Header & Navigation
============================ */
header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 1rem 0;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);*/
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 65px;
    width: auto;
    margin-right: 0.5rem;
    border-radius: 4px;
}

.header-contact a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.header-contact a:hover {
    background-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.header-contact i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Navigation */
nav {
    padding: 0;
    position: static;
    top: auto;
    box-shadow: none;
}

nav.mobile-active {
    height: auto;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    background: var(--primary);
}


.nav-item.mobile-dropdown-active .dropdown-menu {
    max-height: 500px;
}
.phone-nowrap {
    white-space: nowrap;
}
.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    align-items: center;
    gap: 32px;
    padding: 0;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav-link i {
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 0.4rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    color: var(--white);
    background-color: var(--primary);
    border-radius: 6px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 99;
    padding: 0.8rem 0;
    margin-top: 0.8rem;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 0.95rem;
    
    text-align: left;
}

.dropdown-item:hover {
    background-color: var(--accent);
    color: var(--white);
    border-left: 3px solid var(--white);
    padding-left: 2rem;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

.dropdown-heading {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    
    color: var(--gray-light);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
}

/* ============================
   5. Hero Section
============================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.85), rgba(21, 101, 192, 0.75)), 
                url('https://images.unsplash.com/photo-1639326264624-f69833c590ee?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center/cover;
    overflow: hidden;
    margin-top: 0;
    padding: 6rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Add a background overlay pattern for texture */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
    max-width: 900px;
    margin: 50px auto;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.5);
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.hero-cta:hover {
    background: #b71c1c;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.6);
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-partners {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-partners-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.hero-partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.partner-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: brightness(0) invert(1) drop-shadow(0 2px 3px rgba(0, 0, 0, 0.2));
}

/* ============================
   6. About Section
============================ */
.about {
    padding: 5rem 0;
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content {
    padding-right: 2rem;
}

.about-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.about-text {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-stat {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    background: var(--light);
    transition: var(--transition);
}

.about-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.about-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.about-stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.5s ease;
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

/* ============================
   7. Services Section
============================ */
.services {
    padding: 5rem 0;
    background-color: white;
}

.section-title {
    font-size: 2.8rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-vendor {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-body {
    padding: 1.5rem;
    flex: 1;
}

.service-description {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.hardware-img {
    height: 100px;    
}

.hardware-img-2 {
    height: 150px;    
}

.service-features-2 {
    list-style: none;
}

.service-features {
    list-style: none;
    display:flex;
    flex-wrap: wrap;
    text-align: center;
}

.service-features li { width: 33.33%; }

.service-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-feature i {
    color: var(--success);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.service-cta {
    text-align: center;
    padding: 1.5rem;
    background-color: rgba(0, 0, 0, 0.02);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-btn {
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.service-btn:hover {
    background: var(--secondary);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(21, 101, 192, 0.3);
}

/* ============================
   8. Hardware Section
============================ */
.hardware {
    padding: 5rem 0;
    background-color: #f5f7fa;
    position: relative;
}

.hardware::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

.hardware::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

/* ============================
   9. AI Security Section
============================ */
.ai-security {
    padding: 5rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.ai-security::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.05), rgba(21, 101, 192, 0.05));
    border-radius: 50%;
    z-index: 0;
}

/* ============================
   10. Case Studies Section
============================ */
.case-studies {
    padding: 5rem 0;
    background-color: #f5f7fa;
}

.case-slider {
    margin-top: 3rem;
    position: relative;
}

.case-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition);
}

.case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.case-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.case-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 1.5rem;
    object-fit: cover;
    border: 4px solid rgba(0, 0, 0, 0.05);
}

.case-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.case-company {
    color: var(--gray);
    font-size: 1rem;
}

.case-body {
    margin-bottom: 1.5rem;
}

.case-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.case-stat {
    text-align: center;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: var(--transition);
}

.case-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.case-stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.case-stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.case-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.case-quote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--gray);
    position: relative;
    padding-left: 2rem;
}

.case-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.case-author {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.case-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.case-author-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.case-author-title {
    font-size: 0.9rem;
    color: var(--gray);
}

/* ============================
   11. Features Section
============================ */
.features {
    padding: 5rem 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition);
    background-color: white;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--gray);
}

/* ============================
   12. Testimonials Section
============================ */
.testimonials {
    padding: 5rem 0;
    background-color: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://via.placeholder.com/100/100') repeat;
    opacity: 0.05;
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials .section-title {
    color: white;
}

.testimonials .section-title::after {
    background-color: white;
}

.testimonials .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.testimonial-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-title {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================
   13. Partners Section
============================ */
.partners {
    padding: 5rem 0;
    background-color: #f5f7fa;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
}

.partner-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.partner-img {
    height: 30px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-img {
    transform: scale(1.05);
}

.partner-name {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.partner-description {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.partner-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

.partner-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.partner-link:hover i {
    transform: translateX(3px);
}

/* ============================
   14. CTA Section
============================ */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.9), rgba(21, 101, 192, 0.7)), url('https://images.unsplash.com/photo-1558494949-5f5ef7cde1f3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') no-repeat center/cover;
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-input {
    flex: 1;
    min-width: 300px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.cta-btn {
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #b71c1c;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(211, 47, 47, 0.5);
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================
   15. Footer
============================ */
footer {
    background-color: #121212;
    color: white;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    margin-right: 0.5rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 1.5px;
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 0.75rem;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-link a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-link a i {
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item i {
    margin-right: 1rem;
    color: var(--primary);
}

.footer-contact-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ============================
   16. Form Validation & Messages
============================ */
.form-message {
    padding: 0.8rem 1.2rem;
    margin-top: 1rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: opacity 0.3s ease;
}

.form-message.success {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-message.error {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.form-control {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-control input, 
.form-control textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control input:focus, 
.form-control textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(13, 71, 161, 0.25);
}

.form-control label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control.error input,
.form-control.error textarea {
    border-color: #dc3545;
}

.form-control .error-message {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* ============================
   17. Animations & Hover Effects
============================ */
.scale-hover {
    transition: transform 0.3s ease;
}

.scale-hover:hover {
    transform: scale(1.05);
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

/* ============================
   18. Responsive Design
============================ */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-grid {
        gap: 2rem;
    }
    
    .about-content {
        padding-right: 1rem;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        padding-right: 0;
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    nav {
        top: 70px;
    }
    
    .hero {
        margin-top: 102px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        padding: 0;
        height: 0;
        overflow: hidden;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        transition: height 0.4s ease;
    }
    
    nav.mobile-active {
        height: auto;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem 1.5rem;
        border-radius: 0;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: var(--primary);
        color: var(--white);
    }
    
    .nav-item.mobile-dropdown-active .dropdown-menu {
        max-height: 500px;
    }
    
    .hero {
        height: auto;
        padding: 4rem 0;
        margin-top: 70px; /* Adjusted for mobile menu */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-header {
        padding: 1.2rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .case-stat-value {
        font-size: 2rem;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .cta-input {
        margin-bottom: 1rem;
    }
    
    .service-features li { width: 100%; }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        padding: 0 1rem;
    }
    
    .logo {
        margin-bottom: 0.5rem;
    }
    
    .mobile-menu-toggle {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .header-contact {
        margin-top: 0.5rem;
    }
    
    .dropdown-menu {
        left: 0;
        right: 0;
        width: 100%;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-partners-logos {
        gap: 1rem;
    }
    
    .partner-logo {
        height: 30px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .case-header {
        flex-direction: column;
        text-align: center;
    }
    
    .case-logo {
        margin: 0 auto 1rem;
    }
    
    .case-stats {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .services-grid,
    .testimonials-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .case-quote {
        padding-left: 0;
        padding-top: 2rem;
    }
    
    .case-quote::before {
        top: 0;
        left: 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
}

/* ============================
   19. Print Styles
============================ */
@media print {
    header,
    nav,
    .cta,
    footer,
    .hero-cta,
    .service-cta,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .hero {
        height: auto;
        min-height: auto;
        color: #000;
        background: none !important;
        margin-top: 1cm;
        padding: 0;
    }
    
    .hero-title,
    .hero-subtitle {
        color: #000;
        text-shadow: none;
    }
    
    .section-title::after {
        display: none;
    }
    
    .about-image,
    .service-card,
    .feature-card,
    .partner-card,
    .case-card {
        box-shadow: none !important;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    .service-header {
        background: none !important;
        color: #000;
        border-bottom: 1px solid #ddd;
    }
    
    .service-icon,
    .feature-icon {
        color: #000 !important;
        -webkit-text-fill-color: #000;
    }
    
    .page-break {
        page-break-after: always;
    }
}